<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" targetNamespace="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="ServiceProvider" nillable="true">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="UserCredentials" type="UserCredentials"/>
				<xs:element name="ServiceProvider" type="ServiceProviderType" nillable="true"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="ServiceProviderType">
		<xs:sequence>
			<xs:element name="DisplayName" type="xs:string" minOccurs="0"/>
			<xs:element name="SystemName" type="xs:string" minOccurs="0"/>
			<xs:element name="PublicKey" type="xs:string" minOccurs="1"/>
			<xs:element name="WebServiceURL" type="xs:string" minOccurs="0"/>
			<xs:element name="EncryptionAlgorithm" type="xs:string" minOccurs="0"/>
			<xs:element name="Contact" type="Contact" minOccurs="0"/>
			<xs:element name="ServiceProviderType" type="ServiceProviderTypeType" minOccurs="0"/>
			<xs:element name="ServiceProviderID" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="Contact">
		<xs:sequence>
			<xs:element name="Name" type="xs:string" minOccurs="0"/>
			<xs:element name="AddressLine1" type="xs:string" minOccurs="0"/>
			<xs:element name="AddressLine2" type="xs:string" minOccurs="0"/>
			<xs:element name="City" type="xs:string" minOccurs="0"/>
			<xs:element name="PostalCode" type="xs:string" minOccurs="0"/>
			<xs:element name="Province" type="xs:string" minOccurs="0"/>
			<xs:element name="Country" type="xs:string" minOccurs="0"/>
			<xs:element name="Phone" type="xs:string" minOccurs="0"/>
			<xs:element name="Fax" type="xs:string" minOccurs="0"/>
			<xs:element name="Email" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ServiceProviderTypeType">
		<xs:sequence>
			<xs:element name="ServiceProviderTypeID" type="xs:int"/>
			<xs:element name="DisplayName" type="xs:string" minOccurs="0"/>
			<xs:element name="ServiceProviderTypeCode" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="UserCredentials">
		<xs:sequence>
			<xs:element name="UserName" type="xs:string"/>
			<xs:element name="Password" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
